package com.lagou.web.controller;

import com.lagou.service.HelloService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DemoController {

    @Reference
    private HelloService helloService;

    @RequestMapping("/")
    public void test(){
        helloService.sayHello("aaaaaaa",1);
    }
}
